import { request } from 'umi';

export let geFindData = ( { params }: any ) => {
    let src = `api/comment?page=1&pageSize=99999`;
    params.name != '' ? src += '&name=' + params.name : '';
    params.email != '' ? src += '&email=' + params.email : '';
    params.pass != '' ? src += '&pass=' + params.pass : '';
    
    return request(src)
}